package tgc.edu.exam.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import org.springframework.data.annotation.CreatedBy;


/****
 * 教师表
 * @author Administrator
 *
 */
@Entity
public class Teacher extends SysUser {

	private String type;//师资类型
	private String name;//姓名
	private String sex;//性别
	private String nation;//民族
	private String idcode;//身份证号
	private String born;//出生日期
	private String politics;//政治面貌
	private String degree;//最高学历
	private String speciality;//专业
	private String college;//毕业院校
	private String graduationdate;//参加工作时间
	private String teachingdate;//执教时间
	private String company;//工作单位
	private String job;//职务
	private String title;//职称
	private String address; //单位地址
	private String phone; // 手机
	private String carnumber;//车牌号
	private String card;	//银行卡
	/*private TbCurriculum curriculum;*/
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	public String getIdcode() {
		return idcode;
	}
	public void setIdcode(String idcode) {
		this.idcode = idcode;
	}
	public String getBorn() {
		return born;
	}
	public void setBorn(String born) {
		this.born = born;
	}
	public String getPolitics() {
		return politics;
	}
	public void setPolitics(String politics) {
		this.politics = politics;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getSpeciality() {
		return speciality;
	}
	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}
	public String getCollege() {
		return college;
	}
	public void setCollege(String college) {
		this.college = college;
	}
	public String getGraduationdate() {
		return graduationdate;
	}
	public void setGraduationdate(String graduationdate) {
		this.graduationdate = graduationdate;
	}
	public String getTeachingdate() {
		return teachingdate;
	}
	public void setTeachingdate(String teachingdate) {
		this.teachingdate = teachingdate;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getCarnumber() {
		return carnumber;
	}
	public void setCarnumber(String carnumber) {
		this.carnumber = carnumber;
	}
	/*@ManyToOne
	@CreatedBy
	@JoinColumn(name = "curriculum_id")
	public TbCurriculum getCurriculum() {
		return curriculum;
	}
	public void setCurriculum(TbCurriculum curriculum) {
		this.curriculum = curriculum;
	}*/
	public String getCard() {
		return card;
	}
	public void setCard(String card) {
		this.card = card;
	}
	
	
}
